package com.gopay.common.constants.bank;

public class PabConstants {
	public static final String SDB_ONLINE_RETCD_000000 = "000000";
	  public static final String SDB_ONLINE_RETCD_MA9111 = "MA9111";
	  public static final String SDB_ONLINE_RETCD_MA9112 = "MA9112";
	  public static final String SDB_ONLINE_RETCD_MA0103 = "MA0103";
	  public static final String SDB_ONLINE_RETCD_GW3002 = "GW3002";
	  public static final int ONLINE_HEADER_LEN = 222;
	  public static final String ONLINE_TXN_TYPE_4004 = "4004";
	  public static final String ONLINE_TXN_TYPE_4005 = "4005";
	  public static final String ONLINE_HEADER_MSG_TYPE = "A00101";
	  public static final String ONLINE_HEADER_MSG_CHARSET_GBK = "01";
	  public static final String ONLINE_HEADER_MSG_CHARSET_U8 = "02";
	  public static final String ONLINE_HEADER_MSG_CHARSET_UNICODE = "03";
	  public static final String ONLINE_HEADER_MSG_CHARSET_ISO8859_1 = "04";
	  public static final String ONLINE_HEADER_PROTOCOL = "01";
	  public static final String ONLINE_SERVICE_FLAG_REQ = "01";
	  public static final String ONLINE_SERVICE_FLAG_RES = "02";
	  public static final String ONLINE_SIGN_FLAG_NO = "0";
	  public static final String ONLINE_SIGN_FLAG_YES = "1";
	  public static final String ONLINE_SIGN_FORMAT_0 = "0";
	  public static final String ONLINE_SIGN_FORMAT_1 = "1";
	  public static final String ONLINE_SIGN_ALGORITHM = "RSA-SHA1";
	  public static final String TRAN_SDB_DEAL_NO_CHECK = "0";
	  public static final String TRAN_SDB_DEAL_CHECK_IN = "1";
	  public static final String TRAN_SDB_DEAL_CHECKOUT = "2";
	  public static final String TRAN_SDB_DEAL_DONT_CHECK = "3";
	  public static final String TRAN_SDB_DEAL_TOBE_CONFIRMED = "5";
	  public static final String TRAN_SDB_MESSAGE_NO_CHECK = "未结账";
	  public static final String TRAN_SDB_MESSAGE_CHECK_IN = "结账中";
	  public static final String TRAN_SDB_MESSAGE_CHECKOUT = "已结账";
	  public static final String TRAN_SDB_MESSAGE_DONT_CHECK = "永不结账";
	  public static final String TRAN_SDB_MESSAGE_TOBE_CONFIRMED = "等待确认";
	  
	  public static final String TRAN_SDB_DEAL_CHECK_IN_NEW = "1";
	  public static final String TRAN_SDB_DEAL_CHECKOUT_NEW = "2";
	  public static final String TRAN_SDB_DEAL_DONT_CHECK_NEW = "3";
	  public static final String TRAN_SDB_MESSAGE_DEAL_CHECK_IN_NEW = "成功";
	  public static final String TRAN_SDB_MESSAGE_DEAL_CHECKOUT_NEW = "失败";
	  public static final String TRAN_SDB_MESSAGE_DEAL_DONT_CHECK_NEW = "支付结果未知";
	  
	/*************************聚合支付常量***********************************/
	  /** 非0表示失败*/
	  public static final String SUCCESS = "0";
	  /** 系统支持语言 */
	  public static final String LANG = "zh-cn";
	  /** 1为自动提审 */
	  public static final String MTS = "1";
	  /**
	     * 微信经营类目
	     */
	    public static final String WX_CATEGORY = "203";
	    public static final float WX_FREE = 0.3f;
	  /** 成功 */
	  public static final String EXPAY_QUERY_RESP_STATUS_SUCCESS = "Y";
	  /** 失败 */
	  public static final String EXPAY_QUERY_RESP_STATUS_FAIL = "N";
	  /** 未知状态（交易单正在处理中） */
	  public static final String EXPAY_QUERY_RESP_STATUS_UNKNOWN = "U";
	  
	  
	  /** 交易类型  1  支付 */
	  public static final String EXPAY_QUERY_RESP_TRANSTYPE_PAY = "1";
	  /** 交易类型  2 退款 */
	  public static final String EXPAY_QUERY_RESP_TRANSTYPE_REFUND = "2";
	  
	    /**
	     * 支付宝经营类目
	     */
	    public static final String ZFB_CATEGORY = "2015062600002758";
	    public static final float ZFB_FREE = 0.3f;
	    /** 商户入驻*/
	    public static final String MERCHANT_SETTLED = "/bigmerchant/add";
	    /** 添加商户*/
	    public static final String MERCHANT_ADD = "merchant/add";
	    /** 编辑商户*/
	    public static final String MERCHANT_EDIT = "merchant/editsave";
	    /** 删除商户*/
	    public static final String MERCHANT_DELETE = "merchant/delete";
	    /** 获取商户分类*/
	    public static final String MERCHANT_CLASS = "merchant/mct_class";
	    /** 获取城市编码*/
	    public static final String MERCHANT_CITY = "merchant/city";
	    /** 添加门店*/
	    public static final String SHOP_ADD = "shop/add";
	    /** 编辑门店*/
	    public static final String SHOP_EDIT = "shop/editsave";
	    /** 删除门店*/
	    public static final String SHOP_DELETE = "shop/delete";
	    /** 获取门店openId*/
	    public static final String SHOP_OPENID = "shop/openid";
	    /** 获取合同支付方式列表*/
	    public static final String CONTRACT_PAYLIST = "contract/paylist";
	    /** 获取合同支付方式费率*/
	    public static final String CONTRACT_PAYFEE = "contract/pay_fee";
	    /** 添加合同*/
	    public static final String CONTRACT_ADD = "contract/add";
	    /** 编辑合同*/
	    public static final String CONTRACT_EDIT = "contract/editsave";
	    /** 删除合同*/
	    public static final String CONTRACT_DELETE = "contract/delete";
	    /** 关联合同*/
	    public static final String CONTRACT_RELATE = "contract/relate_shop_save";
	    /** 上传文件*/
	    public static final String FILE_UPLODE = "org1";
	    /** 添加商户异步通知*/
	    public static final String MERCHANT_NOTIFY = "merchant_status_notify";
	    /** 添加门店异步通知*/
	    public static final String SHOP_NOTIFY = "shop_status_notify";
	    /** 添加合同异步通知*/
	    public static final String CONTRACT_NOTIFY = "contract_status_notify";
	    
	    
	    /**
	     * 商户支付配置
	     */
	    public static final String MERCHANT_CONFIG = "contract/addconfig";
	    /** 支付*/
	    public static final String PAMENT = "payorder";
	    /** 申请退款*/
	    public static final String REFUND = "payrefund";
	    /** 訂單撤銷*/
	    public static final String PAYCANCEL = "paycancel";
	    public static final String REFUND_QUERY = "payrefundquery";
	    /** 交易查询*/
	    public static final String ORDER_QUERY = "paystatus";
	    /** 商户查询*/
	    public static final String MERCHANT_QUERY = "/bigmerchant";
	    /** 商户修改*/
	    public static final String MERCHANT_MODIFY = "/bigmerchant/edit";
	    /** 获取对账文件*/
	    public static final String GET_ACCT_FILE = "bill/downloadbill";
	    /***  商户入驻类型：WXZF-微信 ***/
	    public static final String WECHAT_SETTLED = "WXZF";
	    /***  商户入驻类型：ZFBZF-支付宝 ***/
	    public static final String ZFB_SETTLED = "ZFBZF";
	    /***  商户入驻状态：入驻状态 01:带入驻 02:成功 03:失败 ***/
	    public static final String SETTLED_SUCCESS = "02";
	    /***  商户入驻状态：入驻状态 01:带入驻 02:成功 03:失败 ***/
	    public static final String SETTLED_FAIL = "03";
	    /***  商户入驻状态：入驻状态 01:带入驻 02:成功 03:失败 ***/
	    public static final String SETTLED_WAIT = "01";
	    /***  商户入驻状态：入驻状态 01:带入驻 02:成功 03:失败04:审核 ***/
	    public static final String SETTLED_AUDIT = "04";
	    /***  订单状态：成功1:待支付 2:已经取消4***/
	    public static final String ORDER_SUCCESS = "1";
	    /***  订单状态：成功1:待支付 2:已经取消4***/
	    public static final String ORDER_CANCEL = "4";
	    /***  订单状态：成功1:待支付 2:已经取消4***/
	    public static final String ORDER_WAIT = "2";
	    public static final String ORDER_WAIT_PWD = "9";
	    
	    /***  订单状态：1.退款成功2.退款处理中 3.退款异常4.退款关闭***/
	    public static final String REFUND_ORDER_SUCCESS = "1";
	    /***  订单状态：1.退款成功2.退款处理中 3.退款异常4.退款关闭***/
	    public static final String REFUND_ORDER_WAIT = "2";
	    /***  订单状态：1.退款成功2.退款处理中 3.退款异常4.退款关闭***/
	    public static final String REFUND_ORDER_EXCEPTION = "3";
	    /***  订单状态：1.退款成功2.退款处理中 3.退款异常4.退款关闭***/
	    public static final String REFUND_ORDER_CLOSE = "4";
	    
	    
	    /***  商户状态（0未审核，1已审核，2审核未通过，3待审核，4已删除，5初审通过）***/
	    public static final String MERCHANT_STATUS_WAIT = "0";
	    public static final String MERCHANT_STATUS_AUDIT_SUCCESS = "1";
	    public static final String MERCHANT_STATUS_AUDIT_FAIL = "2";
	    public static final String MERCHANT_STATUS_AUDIT_WAIT = "3";
	    public static final String MERCHANT_STATUS_DELETE = "4";
	    /***  合同类型（1支付宝，2微信，3微信线上）***/
	    public static final String CONTRACT_ALIPAY = "1";
	    public static final String CONTRACT_WECHAT = "2";
	    public static final String CONTRACT_WECHAT_ONLINE = "3";
	    /***  是否自动签约（0否，1是）***/
	    public static final String CONTRACT_AUTOSIGN_ON = "1";
	    public static final String CONTRACT_AUTOSIGN_OFF = "0";
	    /***  合同状态（0未审核，1已审核，2审核未通过，3待审核，4已删除，5初审通过）***/
	    public static final String CONTRACT_STATUS_WAIT = "0";
	    public static final String CONTRACT_STATUS_AUDIT_SUCCESS = "1";
	    public static final String CONTRACT_STATUS_AUDIT_FAIL = "2";
	    public static final String CONTRACT_STATUS_AUDIT_WAIT = "3";
	    public static final String CONTRACT_STATUS_DELETE = "4";
}
